<template>
  <el-dialog
      v-model="dialogVisible"
      title="查看作者信息"
      width="80%"
      style="min-width: 1000px"
      :before-close="handleClose"
  >
    <AuthorDesc/>

  </el-dialog>
</template>

<script setup>
import {inject} from 'vue'
import AuthorDesc from "./AuthorDesc.vue";

const dialogVisible = inject("authorShowDialog") /*是否展示对话框*/

const handleClose = done => done()

</script>
<style scoped>
.dialog-footer button:first-child {
  margin-right: 10px;
}
</style>
